<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
     
     
     <div class="main groupbuy">
	 <style type="text/css">
	 	.groupbuy {
			height:auto; overflow:hidden;
		}
		.groupbuy ul{
			padding:0 0 0 10px;
		}
        .groupbuy li{
            height:auto; overflow:hidden; margin:0 10px 10px 0; text-align:center; border-bottom:#eee solid 1px; padding:5px 0;
        }
		.groupbuy li p{
			margin:0px; line-height:22px;
		}
        .groupbuy li em{
            color:#E65C73; font-weight:bold; font-size:20px; margin:0 5px; font-weight:bold;
        }
		.groupbuy li .thumb{
			float:right; display:inline; width:180px;
		}
        .groupbuy li .thumb img{
            /*border:#eee solid 1px; padding:4px;*/
        }
		.groupbuy li .desc{
			float:left; display:inline; width:350px; text-align:left; margin:0 0 0 20px;
		}
		.groupbuy li .desc .price{
			font-size:16px; font-weight:bold; 
		}
     </style>
     	<div class="head"><span>淘宝分享</span><a href="{url("?module=goods&action=insert")}">我要分享</a><a href="{url("?module=goods&action=insert")}">我要分享</a>　</div>
         <ul>
          {get sql="select * from table_goods where status=99 order by updatetime desc" rows="20" page="$page"}
           {php $r[thumb] = $r[thumb] ? $r[thumb] : 'misc/nopic.gif'}
            <li>
                <div class="desc">
                	<h4><a href="{url($r[url])}" target="{$target}">{str_cut($r[title], 100)}</a></h4>
                    <p>{$r[description]}</p>
                    <p class="price">￥<em>{$r[price]}</em></p>
                    <p>最近30天售出2213笔</p>
                    <p><a href="#">(已有111人评论)</a></p>
                </div>
                <div class="thumb">
                	<a href="{url($r[url])}"><img src="{thumb($r[thumb],170,220)}"/></a>
                </div>
           </li>
    
          {/get}
        </ul>
    
    	<div class="pagination">{$pages}</div>
    </div>
    
    
    <div class="aside">
    	fasdfasdfasdfasdf
    </div>
</div>


{template 'footer.html'}
